package com.xjd.structs2.action;

public class TestResultAction {
	private int number = 6;

	public void setNumber(int number) {
		this.number = number;
	}

	public String execute() {
		String result = null;
		if (number % 5 == 0)
			result = "success";
		else if (number % 5 == 1)
			result = "login";
		else if (number % 5 == 2)
			result = "index";
		else if(number %5==3)
			result = "index-1";
		else
			result = "testChain";

		return result;
	}
}
